cd $tmpdir
	
# Downloading socat source
if [ ! -f "$socat" ]; then
	echo "Downloading socat sources..."
	wget $mainmirror/$socat
	tar -xf $socat
fi

cd $socatsrcdir
	
./configure --prefix=$freondir

make -j$corecount
make install

cd ..
